package com.hualan.sfzyproject.service;

import com.hualan.sfzyproject.domain.Points;
import com.hualan.sfzyproject.mapper.PointsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PointsService {

    @Autowired
    private PointsMapper pointsMapper;

    public Points selectByPrimaryKey(Long id) {
        return pointsMapper.selectByPrimaryKey(id);
    }

    //插入
    public int insertPoint(Points record) {
        return pointsMapper.insertSelective(record);
    }

}
